@import '~sysStatic/css/theme/theme.scss';
* {
    box-sizing: border-box;
}

html,
body,
div,
section,
header,
footer,
aside,
ul,
ol,
li,
table,
tr,
th,
td,
button,
input,
textarea,
select,
h1,
h2,
h3,
h4,
h5,
h6,
em,
i,
strong,
p,
span,
blockquote {
    margin: 0;
    padding: 0;
}

// h1, h2, h3, h4, h5, h6, em, th, i, strong, input, textarea, button, select {
//     font-weight: normal;
//     font-style: normal;
//     font-size: 100%;
// }
ul,
ol {
    list-style: none;
    vertical-align: top;
}

table,
td,
th {
    border-collapse: collapse;
    border-spacing: 0;
}

input,
button,
select,
textarea {
    outline: none;
    background: none;
}

textarea {
    resize: none;
}

img,
a img {
    border: none;
    vertical-align: top;
}

a,
a:link,
a:active,
a:visited {
    text-decoration: none;
    color: #666;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

a:hover {
    color: $themeColor;
    text-decoration: none;
}

html {
    height: 100%;
}

body {
    font-size: $systemFontSize;
    font-family: $systemFontFamily;
    color: $systemFontColor;
    height: 100%;
}

.f-cb:after {
    display: block;
    clear: both;
    visibility: hidden;
    height: 0;
    overflow: hidden;
    content: ".";
}

.f-cb {
    zoom: 1;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.fc {
    margin: 0 auto;
}

.vertical-middle {
    vertical-align: middle;
}


/**显示隐藏**/

.hidden {
    display: none;
}

.clear {
    clear: both;
}

.overflow {
    overflow: hidden;
}


/**定位**/

.posR {
    position: relative;
}

.posA {
    position: absolute;
}

.posF {
    position: fixed;
}

.fb {
    font-weight: bold;
}

.textL {
    text-align: left;
}

.textC {
    text-align: center;
}

.textR {
    text-align: right;
}

.text2em {
    text-indent: 2em
}

.word-hidden {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}


/**修改elementUI 样式**/

// collapse样式修改
.el-collapse-item__header {
    font-size: 14px;
    font-weight: 600;
    background-color: #B9E3F1;
    color: #2E353C;
}

.el-collapse-item__wrap {
    background-color: #F4F9F3;
}

//设置工具条toolbar中的样式
.toolbar .el-form-item {
    margin-bottom: 0;
}

//设置查询条page-search中的样式
.page-search .el-form-item {
    margin-bottom: 0;
}

//隐藏表头的样式
.headerNone .el-table__header {
    display: none;
}

// layout
.el-row {
    margin-bottom: 20px;
    &:last-child {
        margin-bottom: 0;
    }
}

.el-col {
    border-radius: 4px;
}

.bg-purple-dark {
    background: #99a9bf;
}

.bg-purple {
    background: #d3dce6;
}

.bg-purple-light {
    background: #F4F9F3;
}

.grid-content {
    border-radius: 4px;
    min-height: 36px;
    padding: 20px;
}

.row-bg {
    padding: 10px 0;
    background-color: #f9fafc;
}

// h4
h4 {
    font-size: 14px;
}

//面包屑
.el-breadcrumb__item__inner,
.el-breadcrumb__item__inner a {
    transition: color .15s linear;
    color: #333;
}

.page-breadcrumb {
    height: 30px;
    margin-bottom: $commomSpace;
    border-bottom: 1px solid $borderColor;
    &>.strong {
        line-height: 30px;
        font-size: 15px;
        font-weight: bold;
        color: $systemFontColor
    }
}